package com.ssy.lingxi.after.sale.repository;

import com.ssy.lingxi.after.sale.entity.ReturnManualDeliveryGoodsDO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * 售后退货手工发货
 * @author 伍将
 * @date 2020/12/5
 * @version 2.0.0
 */
public interface ReturnManualDeliveryGoodsRepository extends JpaRepository<ReturnManualDeliveryGoodsDO, Long>, JpaSpecificationExecutor<ReturnManualDeliveryGoodsDO> {

    /**
     * 根据退货id与发货类型查询发货信息
     * @author 伍将
     * @date 2020/12/5
     * @param replaceId:
     * @return:
     **/
    ReturnManualDeliveryGoodsDO findByReturnId(Long replaceId);
}
